ComponentOne Bitmap for WinForms
C1.Win.C1DX.4.8 Assembly / C1.Util.DX.WIC Namespace / BitmapFrameEncode Class / WritePixels Method / WritePixels<T>(Int32,Int32,T[]) Method

The number of lines to encode.

The stride of the image pixels.

A reference to the pixel buffer.


In This Topic
    WritePixels<T>(Int32,Int32,T[]) Method
    In This Topic

    Encodes the frame scanlines.

    Syntax
    'Declaration
     
    Public Overloads Sub WritePixels(Of T As {New, Struct})( _
       ByVal lineCount As System.Integer, _
       ByVal stride As System.Integer, _
       ByVal pixelBuffer() As T _
    ) 
    public void WritePixels<T>( 
       System.int lineCount,
       System.int stride,
       T[] pixelBuffer
    )
    where T: new(), struct

    Parameters

    lineCount

    The number of lines to encode.

    stride

    The stride of the image pixels.

    pixelBuffer

    A reference to the pixel buffer.

    Type Parameters

    T
    Remarks

    Successive WritePixels calls are assumed to be sequential scanline access in the output image.

    See Also